#include <iostream>
#include <climits>
#define ZERO 0

int main()
{
	using namespace std;

	short same = SHRT_MAX;
	unsigned short sue = same;

	cout << "Sam has " << same << " dollars and Sue has " << sue;
	cout << " dollars deposited." << endl;

	
	return 0;
}
